package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxRoadEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.CrVulnerabilityEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.RoadParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CarVulnerabilityService {

    SmxRoadEntity getById(String carId);

    List<CrVulnerabilityEntity> getVulnerabilityById(String id);

    RestResponse crVulnerability(String versionId,String tableId);

    RestResponse importVulnerability(MultipartFile file);

    Map<String, Object> uploadRoadShp(String fileIds, String versionId,String userId) throws Exception;

    HashMap<Integer, ArrayList<String>> getDataValidation(String versionId);

    SmxRoadEntity getByTableId(String id);

    void updateRoadById(RoadParam roadParam);

    RestResponse count(RoadParam param);
}
